home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / gnudev1.zip / emx / doc / NEWS.GDB < prev   
Text File  |  1996-04-23  |  52KB  |  1,339 lines

  1.         What has changed in GDB?
  2.          (Organized release by release)
  3.  
  4. *** Changes in GDB-4.16:
  5.  
  6. * New native configurations
  7.  
  8. Windows 95, x86 Windows NT            i[345]86-*-cygwin32
  9. M68K NetBSD                    m68k-*-netbsd*
  10. PowerPC AIX 4.x                    powerpc-*-aix*
  11. PowerPC MacOS                    powerpc-*-macos*
  12. PowerPC Windows NT                powerpcle-*-cygwin32
  13. RS/6000 AIX 4.x                    rs6000-*-aix4*
  14.  
  15. * New targets
  16.  
  17. ARM with RDP protocol                arm-*-*
  18. I960 with MON960                i960-*-coff
  19. MIPS VxWorks                    mips*-*-vxworks*
  20. MIPS VR4300 with PMON                mips64*vr4300{,el}-*-elf*
  21. PowerPC with PPCBUG monitor            powerpc{,le}-*-eabi*
  22. Hitachi SH3                    sh-*-*
  23. Matra Sparclet                    sparclet-*-*
  24.  
  25. * PowerPC simulator
  26.  
  27. The powerpc-eabi configuration now includes the PSIM simulator,
  28. contributed by Andrew Cagney, with assistance from Mike Meissner.
  29. PSIM is a very elaborate model of the PowerPC, including not only
  30. basic instruction set execution, but also details of execution unit
  31. performance and I/O hardware.  See sim/ppc/README for more details.
  32.  
  33. * Solaris 2.5
  34.  
  35. GDB now works with Solaris 2.5.
  36.  
  37. * Windows 95/NT native
  38.  
  39. GDB will now work as a native debugger on Windows 95 and Windows NT.
  40. To build it from source, you must use the "gnu-win32" environment,
  41. which uses a DLL to emulate enough of Unix to run the GNU tools.
  42. Further information, binaries, and sources are available at
  43. ftp.cygnus.com, under pub/gnu-win32.
  44.  
  45. * dont-repeat command
  46.  
  47. If a user-defined command includes the command `dont-repeat', then the
  48. command will not be repeated if the user just types return.  This is
  49. useful if the command is time-consuming to run, so that accidental
  50. extra keystrokes don't run the same command many times.
  51.  
  52. * Send break instead of ^C
  53.  
  54. The standard remote protocol now includes an option to send a break
  55. rather than a ^C to the target in order to interrupt it.  By default,
  56. GDB will send ^C; to send a break, set the variable `remotebreak' to 1.
  57.  
  58. * Remote protocol timeout
  59.  
  60. The standard remote protocol includes a new variable `remotetimeout'
  61. that allows you to set the number of seconds before GDB gives up trying
  62. to read from the target.  The default value is 2.
  63.  
  64. * Automatic tracking of dynamic object loading (HPUX and Solaris only)
  65.  
  66. By default GDB will automatically keep track of objects as they are
  67. loaded and unloaded by the dynamic linker.  By using the command `set
  68. stop-on-solib-events 1' you can arrange for GDB to stop the inferior
  69. when shared library events occur, thus allowing you to set breakpoints
  70. in shared libraries which are explicitly loaded by the inferior.
  71.  
  72. Note this feature does not work on hpux8.  On hpux9 you must link
  73. /usr/lib/end.o into your program.  This feature should work
  74. automatically on hpux10.
  75.  
  76. * Irix 5.x hardware watchpoint support
  77.  
  78. Irix 5 configurations now support the use of hardware watchpoints.
  79.  
  80. * Mips protocol "SYN garbage limit"
  81.  
  82. When debugging a Mips target using the `target mips' protocol, you
  83. may set the number of characters that GDB will ignore by setting
  84. the `syn-garbage-limit'.  A value of -1 means that GDB will ignore
  85. every character.  The default value is 1050.
  86.  
  87. * Recording and replaying remote debug sessions
  88.  
  89. If you set `remotelogfile' to the name of a file, gdb will write to it
  90. a recording of a remote debug session.  This recording may then be
  91. replayed back to gdb using "gdbreplay".  See gdbserver/README for
  92. details.  This is useful when you have a problem with GDB while doing
  93. remote debugging; you can make a recording of the session and send it
  94. to someone else, who can then recreate the problem.
  95.  
  96. * Speedups for remote debugging
  97.  
  98. GDB includes speedups for downloading and stepping MIPS systems using
  99. the IDT monitor, fast downloads to the Hitachi SH E7000 emulator,
  100. and more efficient S-record downloading.
  101.  
  102. * Memory use reductions and statistics collection
  103.  
  104. GDB now uses less memory and reports statistics about memory usage.
  105. Try the `maint print statistics' command, for example.
  106.  
  107. *** Changes in GDB-4.15:
  108.  
  109. * Psymtabs for XCOFF
  110.  
  111. The symbol reader for AIX GDB now uses partial symbol tables.  This
  112. can greatly improve startup time, especially for large executables.
  113.  
  114. * Remote targets use caching
  115.  
  116. Remote targets now use a data cache to speed up communication with the
  117. remote side.  The data cache could lead to incorrect results because
  118. it doesn't know about volatile variables, thus making it impossible to
  119. debug targets which use memory mapped I/O devices. `set remotecache
  120. off' turns the the data cache off.
  121.  
  122. * Remote targets may have threads
  123.  
  124. The standard remote protocol now includes support for multiple threads
  125. in the target system, using new protocol commands 'H' and 'T'.  See
  126. gdb/remote.c for details.
  127.  
  128. * NetROM support
  129.  
  130. If GDB is configured with `--enable-netrom', then it will include
  131. support for the NetROM ROM emulator from XLNT Designs.  The NetROM
  132. acts as though it is a bank of ROM on the target board, but you can
  133. write into it over the network.  GDB's support consists only of
  134. support for fast loading into the emulated ROM; to debug, you must use
  135. another protocol, such as standard remote protocol.  The usual
  136. sequence is something like
  137.  
  138.     target nrom <netrom-hostname>
  139.     load <prog>
  140.     target remote <netrom-hostname>:1235
  141.  
  142. * Macintosh host
  143.  
  144. GDB now includes support for the Apple Macintosh, as a host only.  It
  145. may be run as either an MPW tool or as a standalone application, and
  146. it can debug through the serial port.  All the usual GDB commands are
  147. available, but to the target command, you must supply "serial" as the
  148. device type instead of "/dev/ttyXX".  See mpw-README in the main
  149. directory for more information on how to build.  The MPW configuration
  150. scripts */mpw-config.in support only a few targets, and only the
  151. mips-idt-ecoff target has been tested.
  152.  
  153. * Autoconf
  154.  
  155. GDB configuration now uses autoconf.  This is not user-visible,
  156. but does simplify configuration and building.
  157.  
  158. * hpux10
  159.  
  160. GDB now supports hpux10.
  161.  
  162. *** Changes in GDB-4.14:
  163.  
  164. * New native configurations
  165.  
  166. x86 FreeBSD                    i[345]86-*-freebsd
  167. x86 NetBSD                    i[345]86-*-netbsd
  168. NS32k NetBSD                    ns32k-*-netbsd
  169. Sparc NetBSD                    sparc-*-netbsd
  170.  
  171. * New targets
  172.  
  173. A29K VxWorks                    a29k-*-vxworks
  174. HP PA PRO embedded (WinBond W89K & Oki OP50N)    hppa*-*-pro*
  175. CPU32 EST-300 emulator                m68*-*-est*
  176. PowerPC ELF                    powerpc-*-elf
  177. WDC 65816                    w65-*-*
  178.  
  179. * Alpha OSF/1 support for procfs
  180.  
  181. GDB now supports procfs under OSF/1-2.x and higher, which makes it
  182. possible to attach to running processes.  As the mounting of the /proc
  183. filesystem is optional on the Alpha, GDB automatically determines
  184. the availability of /proc during startup.  This can lead to problems
  185. if /proc is unmounted after GDB has been started.
  186.  
  187. * Arguments to user-defined commands
  188.  
  189. User commands may accept up to 10 arguments separated by whitespace.
  190. Arguments are accessed within the user command via $arg0..$arg9.  A
  191. trivial example:
  192. define adder
  193.   print $arg0 + $arg1 + $arg2
  194.  
  195. To execute the command use:
  196. adder 1 2 3
  197.  
  198. Defines the command "adder" which prints the sum of its three arguments.
  199. Note the arguments are text substitutions, so they may reference variables,
  200. use complex expressions, or even perform inferior function calls.
  201.  
  202. * New `if' and `while' commands
  203.  
  204. This makes it possible to write more sophisticated user-defined
  205. commands.  Both commands take a single argument, which is the
  206. expression to evaluate, and must be followed by the commands to
  207. execute, one per line, if the expression is nonzero, the list being
  208. terminated by the word `end'.  The `if' command list may include an
  209. `else' word, which causes the following commands to be executed only
  210. if the expression is zero.
  211.  
  212. * Fortran source language mode
  213.  
  214. GDB now includes partial support for Fortran 77.  It will recognize
  215. Fortran programs and can evaluate a subset of Fortran expressions, but
  216. variables and functions may not be handled correctly.  GDB will work
  217. with G77, but does not yet know much about symbols emitted by other
  218. Fortran compilers.
  219.  
  220. * Better HPUX support
  221.  
  222. Most debugging facilities now work on dynamic executables for HPPAs
  223. running hpux9 or later